package com.hinotoyk.testsystem.entity;

public class Teacher {
    private Integer teacherId;

    private String teacherName;

    private String teacherPw;

    public Teacher() {
    }

    public Teacher(String teacherName, String teacherPw) {
        this.teacherName = teacherName;
        this.teacherPw = teacherPw;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId=" + teacherId +
                ", teacherName='" + teacherName + '\'' +
                ", teacherPw='" + teacherPw + '\'' +
                '}';
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public String getTeacherPw() {
        return teacherPw;
    }

    public void setTeacherPw(String teacherPw) {
        this.teacherPw = teacherPw == null ? null : teacherPw.trim();
    }
}